package asimes.algorithm.list;

/**
 * Created by Liangweiwei on 2016/9/9.
 */
public class Node<T> {
    private T data;
    public Node next;

    public Node(T data) {
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
